/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo05_for循环 {
    public static void main(String[] args) {
/*
        for (int i = 1; i <= 5; i++) {

            // 1.2.3.4.5
            System.out.println("你好啊~" + i);
        }

        System.out.println("程序结束");*/


        for (int i = 0; i < 5; i++) {
            // 0,1,2,3,4
            System.out.println("你好啊~" + (i+1));
        }

        System.out.println("程序结束");

    }
}
